FROM debian:7.6

ENV DEBIAN_FRONTEND noninteractive

RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak
COPY sources.list /etc/apt/

RUN \
  apt-get update && \
  apt-get install -y apt-utils && \
  apt-get install -y curl && \
  apt-get install -y build-essential && \
  apt-get install -y procps && \
  apt-get install -y locales && \
  localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

ENV LANG en_US.utf8